// 防抖
const shake = (one, time) => {
    let timer
    return function() {
        clearTimeout(timer)
        one.call(this, ...arguments)
    }
}
export default shake